package com.lgj.common.constants;

/**
 * oauth 授权模式
 * @author guangjie.liao
 */
public class GrantTypeConstants {

    /**
     * 授权类型 key
     **/
    public static final String GRANT_TYPE = "grant_type";
    /**
     * 密码模式
     **/
    public static final String PASSWORD = "password";
    /**
     * 客户端模式
     **/
    public static final String CLIENT_CREDENTIALS = "client_credentials";
    /**
     * token 刷新
     **/
    public static final String REFRESH_TOKEN = "refresh_token";
    /**
     * 授权码模式
     **/
    public static final String AUTHORIZATION_CODE = "authorization_code";
    /**
     * 隐式授权模式
     **/
    public static final String IMPLICIT = "implicit";

    /**
     * 短信验证码模式
     */
    public static final String MOBILE_CODE = "mobile_code";
    /**
     * 微信登陆
     */
    public static final String WE_CHAT = "weChat";
}
